IF EXISTS (SELECT * FROM [DBO].[SYSOBJECTS] WHERE ID = OBJECT_ID(N'[DBO].[his_value]') AND OBJECTPROPERTY(id, N'IsUserTable') = 1)
BEGIN
  IF NOT EXISTS(SELECT TOP 1 1 FROM [DBO].[his_value])
	  DROP TABLE [DBO].[his_value]
END
GO
IF NOT EXISTS(SELECT * FROM [DBO].[SYSOBJECTS] WHERE ID = OBJECT_ID(N'[dbo].[his_value]') AND OBJECTPROPERTY(id, N'IsUserTable') = 1)
BEGIN
  CREATE TABLE [DBO].[his_value] (mate VARCHAR(20))
END
GO

DELETE FROM [DBO].[his_value]

INSERT INTO [DBO].[his_value](mate) VALUES
('value1'),
('value2'),
('value3'),
('value4'),
('value5'),
('value6'),
('value7'),
('value8'),
('value9'),
('value10'),
('value11'),
('value12')
GO
